package com.example.mallmanagement.mapper;

import com.example.mallmanagement.domain.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {

    @Select("select * from tb_user where username = #{username, jdbcType=VARCHAR};")
    User selectUser(String username);
}
